package com.easy.life.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.easy.life.common.R;
import com.easy.life.entity.UserEntity;



/**
 * 
 *
 * @author xuhbin
 * @email a2712136826@qq.com
 * @date 2021-02-27 14:51:15
 */
public interface UserService extends IService<UserEntity> {

    R login(String username, String password);

    R register(String username, String password,String phone ,String code);

    R isUser(String username);

    Boolean isPhone(String phone);
}

